<?php
	include '../ini.php';
	include '../../libraries/xl_phuong_thuc_thanh_toan.php';
	$dt_xl_phuong_thuc_thanh_toan=new xl_phuong_thuc_thanh_toan;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include'../widgets/js_css.php'?>
</head>
<body>
<div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
  
  <?php include '../widgets/sidebar.php'?>
  <div id="main-content"> <!-- Main Content Section with everything -->
  <!--noscript-->
    <!-- Page Head --> 
    <!-- End .shortcut-buttons-set -->
    
    <div class="clear"></div>
    <!-- End .clear -->
    
    <div class="content-box"><!-- Start Content Box -->
      
      <div class="content-box-header">
        <h3>Danh sách phương thức thanh toán</h3>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      
      <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
          <?php thong_bao()?>
          <form name="f_san_pham" method="post" action="xoa_nhieu.php">
          <table>
              <tr>
                <th>Mã</th>
                <th>Tên phương thức</th>
                <th>Mô tả</th>
              </tr>
              <?php
				$ds_pttt=$dt_xl_phuong_thuc_thanh_toan->danh_sach_all();
				foreach($ds_pttt as $pttt)
				{
			  ?>
              <tr>
                <td><?php echo $pttt['ma']?></td>
                <td><?php echo $pttt['ten_phuong_thuc']?></td>
                <td><?php echo $pttt['mo_ta']?></td>
              </tr>
              <?php }?>
          </table>
          </form>
        </div>
        <!-- End #tab1 --> 
        
      </div>
      <!-- End .content-box-content --> 
      
    </div>
    <!-- End .content-box -->
    
    <div class="clear"></div>
    <div id="footer"> <small> <!-- Remove this notice or replace it with whatever you want -->
    <!-- End #footer --> 
    
  </div>
  <!-- End #main-content --> 
</div>
</body>
</html>
